package vcp.views;

import java.awt.event.ActionListener;
import java.util.Observable;
import java.util.Observer;

import vcp.common.AbstractView;
import vcp.common.IView;
import vcp.gui.forms.LoginForm;

public class LoginView extends AbstractView implements Observer,IView {
    private LoginForm loginForm;
    public LoginView(){
    	
    }
    
    public LoginForm getLoginForm() {
    	if(this.loginForm==null)
    		this.loginForm = new LoginForm();
    	return loginForm;
	}

	@Override
	public void addController(Object obj) {
		loginForm.getBtnLogin().addActionListener((ActionListener)obj);	
	}

	@Override
	public void update(Observable o, Object arg) {
		// TODO Auto-generated method stub
		
	}

}
